package com.aishang.shopback_2005.service;

import com.aishang.shopback_2005.po.Product;
import com.aishang.shopback_2005.po.ProductExt;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author a1790
 */
public interface ProductService {
    /**
     * 获取商品
     * @param productExt
     * @return
     */
    PageInfo<Product> getProducts(ProductExt productExt);

    void addProduct(MultipartFile multipartFile, Product product);
}
